import http from'@/util/request.js'

export default {
    register:(obj) => {
        return http({
            url: '/api/user/register',
            method: 'post',
            data: obj,
            params: {
                captcha: obj.captcha,
                key: obj.key
            },
            headers: {
                'Content-Type': 'application/json'
            }
            //
        });
    }
}